import service from "@/request/request.js"
// 获取宠物信息列表
export const GetOrderViewMessageService = (pageNum, pageSize,keyword) => {
    return service({
        method: 'GET',
        url: '/admincharge/orderview/',
        headers: {
            'Authorization': 'Bearer'+" " + localStorage.getItem('custom_token')
        },
        params: {
            ...keyword,
            currentPage: pageNum,
            pageSize: pageSize
        }
    })
}

// 删除一份宠物信息数据
export const deleteOrderNoticeUrlService = (Id) => {
    return service({
        method: 'POST',
        url: '/admincharge/orderview/' + Id + '/',
    })
}

// 批量删除
export const deleteOrderNoticeUrlsService = (Ids) => {
    return service({
        method: 'POST',
        url: '/admincharge/orderview/deletemany/',
        data: Ids
    })
}